;; org 配置
(require 'org)
(require 'org-tempo)
(require 'cl) ; for delete*

;;??
(setq org-startup-truncated nil)

;;??
(add-hook 'org-mode-hook
	  (lambda () (electric-indent-local-mode -1)))

(setq org-src-fontify-natively t)

;;??
(defun my-go-setting()
  (setq tab-width 4))
(add-hook 'go-mode-hook
	  #'my-go-setting)

;;
(setq org-agenda-files "D:/我的坚果云/notes")

;;设置各种org里显示的各种样式

;;粗体显示为 红色
(setq org-emphasis-alist
      (cons '("*" '(bold :emphasis t :foreground "red"))
            (delete* "*" org-emphasis-alist :key 'car :test 'equal)))

(provide 'init-org)
